﻿<%@ Page Title="Personalize your Ad @ tbd.co.in" Language="C#" MasterPageFile="~/TBDHome.Master"
    Theme="HomeTheme" AutoEventWireup="true" CodeBehind="Build.aspx.cs" Inherits="OPMS_V1.Public.Build" %>

<%@ Register Src="~/UserControls/Login.ascx" TagPrefix="login" TagName="login1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit.HTMLEditor" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <login:login1 ID="LoginPanel" runat="server" />
    <asp:Label ID="lblHeading" runat="server" Style="z-index: 3; left: 35px; top: 203px;
        position: absolute" Text="Build your Ad" Font-Bold="True" Font-Size="22pt" 
        ForeColor="IndianRed"></asp:Label>
    <p>
        <asp:Button ID="btnConfirm" runat="server" OnClick="btnConfirm_Click" Style="z-index: 4;
            left: 924px; top: 238px; position: absolute" Text="Confirm your Ad" 
            CssClass="buttonStyling" />
        <asp:Label ID="Label4" runat="server" 
            
            style="z-index: 4; left: 42px; top: 235px; position: absolute; width: 766px;" 
            
            Text="To build your Ad simply open the areas of the Ad you wish to edit, once you're happy with your Ad and have completed the required sections click on the 'Confirm' button to proceed. "></asp:Label>
    </p>
    
    <p></p><p></p>
    <ajaxToolkit:Accordion ID="Accordion1" runat="server" FadeTransitions="True" SelectedIndex="0"
        TransitionDuration="300" HeaderCssClass="accordionHeader" ContentCssClass="accordionContent"
        Style="position: absolute; top: 271px; left: 30px; width: 1051px; height: 283px;">
        <Panes>
            <ajaxToolkit:AccordionPane ID="AccordionPane1" runat="server">
                <Header>
                    <asp:Panel ID="pnlPDetailsHeader" runat="server" Height="30px" BackColor="#3B5998"
                        CssClass="imageNoRepeat">
                        <asp:Label ID="lblPAddress" runat="server">Property Address</asp:Label>
                    </asp:Panel>
                    <ajaxToolkit:RoundedCornersExtender ID="pnlSellp_RoundedCornersExtender" runat="server"
                        Enabled="True" TargetControlID="pnlPDetailsHeader">
                    </ajaxToolkit:RoundedCornersExtender>
                </Header>
                <Content>
                    <asp:Label ID="lblAddressDetails" runat="server" Text="Enter your Address Details"
                        Style="font-size: 15px; font-weight: bold" ForeColor="Blue"></asp:Label>
                    <asp:Panel ID="pnlPAddress" runat="server" BackImageUrl="~/Images/accordianContent.jpg">
                        <asp:Panel ID="pnlAddressError" runat="server">
                            <table>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblImportantAdd" runat="server" Text="Important Information: "></asp:Label><hr />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblPropertyError" runat="server" ForeColor="Red" Text="" Style="z-index: 2;
                                            font-weight: normal;"></asp:Label><p>
                                            </p>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <table class="marginLeft">
                            <tr>
                                <td>
                                    <asp:Label ID="lblPropertyName" runat="server" Text="Property Name: " CssClass="headerLabel"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtPropertyName" runat="server"></asp:TextBox>
                                    <asp:RegularExpressionValidator runat="server" ControlToValidate="txtPropertyName"
                                        ErrorMessage="Property Name can contain only Letters and Numbers" ValidationExpression="^[a-zA-Z0-9\s,]*$"
                                        Style="font-size: 12px;" Display="dynamic"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblPropertyNo" runat="server" Text="Property No: "></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtPropertyNo" runat="server"></asp:TextBox>
                                    <asp:RegularExpressionValidator ID="regexPropertyNo" runat="server" ControlToValidate="txtPropertyNo"
                                        ErrorMessage="Property No. can contain only Letters and Numbers" ValidationExpression="^[a-zA-Z0-9-]*$"
                                        Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblStreetNo" runat="server" Text="Street No: "></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtStreetNo" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblStreetName" runat="server" Text="Street Name: * "></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtStreetName" runat="server"></asp:TextBox>
                                    <asp:RegularExpressionValidator ID="regexSteetName" runat="server" ControlToValidate="txtStreetName"
                                        ErrorMessage="Street Name can contain only Letters" ValidationExpression="^[a-zA-Z\s,-]*$"
                                        Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblArea" runat="server" Text="Area/Suburb/Town: * "></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtArea" runat="server"></asp:TextBox>
                                    <asp:RegularExpressionValidator ID="regexArea" runat="server" ControlToValidate="txtArea"
                                        ErrorMessage="Area can contain only Letters and Numbers" ValidationExpression="^[a-zA-Z0-9\s,-]*$"
                                        Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblPostCode" runat="server" Text="Postal Code: * "></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtPostCode" runat="server"></asp:TextBox>
                                    <asp:RegularExpressionValidator ID="regexPostCode" runat="server" ControlToValidate="txtPostCode"
                                        ErrorMessage="Postal Code can contain only Numbers" ValidationExpression="^[0-9]*$"
                                        Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblState" runat="server" Text="State: * "></asp:Label>
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlState" runat="server">
                                        <asp:ListItem>Jammu Kashmir</asp:ListItem>
                                        <asp:ListItem>Himachal Pradesh</asp:ListItem>
                                        <asp:ListItem>Delhi</asp:ListItem>
                                        <asp:ListItem>Uttar Pradesh</asp:ListItem>
                                        <asp:ListItem>Jharkhand</asp:ListItem>
                                        <asp:ListItem>Bihar</asp:ListItem>
                                        <asp:ListItem>Haryana</asp:ListItem>
                                        <asp:ListItem>Punjab</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <p>
                                        <asp:Button ID="btnSavePropertyAddress" runat="server" Text="Save Details" OnClick="btnSavePropertyAddress_Click"
                                            CssClass="buttonStyling" />
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                    <asp:Panel ID="pnlPropertyAddressResponse" runat="server">
                        <p>
                        </p>
                        <asp:Label ID="lblAddressResponse" runat="server" Text="" Style="font-weight: normal"></asp:Label>
                        <p>
                            <asp:Button ID="btnEditPropertyAddress" runat="server" Text="Edit" CssClass="buttonStyling"
                                OnClick="btnEditPropertyAddress_Click" />
                    </asp:Panel>
                </Content>
            </ajaxToolkit:AccordionPane>
            <ajaxToolkit:AccordionPane ID="AccordionPane2" runat="server">
                <Header>
                    <asp:Panel ID="pnlPrcingHeader" runat="server" Height="30px" BackColor="#3B5998"
                        CssClass="imageNoRepeat">
                        <asp:Label ID="lblPricingDetails" runat="server">Pricing Details</asp:Label>
                    </asp:Panel>
                    <ajaxToolkit:RoundedCornersExtender ID="RoundedCornersExtender1" runat="server" Enabled="True"
                        TargetControlID="pnlPrcingHeader">
                    </ajaxToolkit:RoundedCornersExtender>
                </Header>
                <Content>
                    <asp:Label ID="lblPropertyPricing" runat="server" Text="Enter your Property Pricing Details"
                        Style="font-size: 15px; font-weight: bold" ForeColor="Blue"></asp:Label>
                    <asp:Panel ID="Panel1" runat="server" BackImageUrl="~/Images/accordianContent.jpg">
                        <asp:Panel ID="pnlRent" runat="server">
                            <asp:Panel ID="pnlRentPriceError" runat="server">
                                <table>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblRentInformation" runat="server" Text="Important Information:" ForeColor="Red"></asp:Label>
                                            <hr />
                                            <p>
                                            </p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblRentPriceError" runat="server" ForeColor="Red" Text="" Style="z-index: 2;
                                                font-weight: normal;"></asp:Label>
                                            &nbsp;<p>
                                            </p>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                            <table class="marginLeft">
                                <tr>
                                    <td>
                                        <asp:RadioButton ID="rdbRentWeekPrice" runat="server" Text="Weekly Rental Price: Rs.* "
                                            GroupName="RentPriceRange" AutoPostBack="true" OnCheckedChanged="rdbRentWeekPrice_CheckedChanged"
                                            Checked="true" />
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtRentweeklyPrice" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexweeklyPrice" runat="server" ControlToValidate="txtRentweeklyPrice"
                                            ErrorMessage="Please enter valid Fixed Price (e.g. 5,000)" ValidationExpression="^[0-9]*$"
                                            Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:RadioButton ID="rdbRentalPriceRange" runat="server" Text="Rental Price Range: Rs. * "
                                            GroupName="RentPriceRange" AutoPostBack="true" OnCheckedChanged="rdbRentalPriceRange_CheckedChanged" />
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtRentFrom" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexRentFrom" runat="server" ControlToValidate="txtRentFrom"
                                            ErrorMessage="Please enter a valid Range" ValidationExpression="^[0-9]*$" Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblRentTo" runat="server" Text="To *"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtRentTo" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexTo" runat="server" ControlToValidate="txtRentTo"
                                            ErrorMessage="Please enter valid To Range" ValidationExpression="^[0-9]*$" Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblBond" runat="server" Text="Bond * "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtRentBond" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexRentBond" runat="server" ControlToValidate="txtRentBond"
                                            ErrorMessage="Please enter a valid Bond Price(e.g. Rs.500)" ValidationExpression="^[0-9]*$"
                                            Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <p>
                                            <asp:Button ID="btnRentSaveDetails" runat="server" Text="Save Details" CssClass="buttonStyling"
                                                OnClick="btnRentSaveDetails_Click" />
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <asp:Panel ID="pnlSell" runat="server">
                            <asp:Panel ID="pnlSellErrors" runat="server">
                                <table>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblImportant" runat="server" Text="Important Information:" ForeColor="Red"></asp:Label>
                                            <hr />
                                            <p>
                                            </p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblPriceError" runat="server" ForeColor="Red" Text="" Style="z-index: 2;
                                                font-weight: normal;"></asp:Label>
                                            &nbsp;<p>
                                            </p>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                            <table class="marginLeft">
                                <tr>
                                    <td>
                                        <asp:RadioButton ID="rdbSellSpecificPrice" runat="server" Text="Specific Price: Rs. * "
                                            GroupName="SellPrice" AutoPostBack="true" OnCheckedChanged="rdbSellSpecificPrice_CheckedChanged"
                                            Checked="true" />
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtSpecificPrice" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexSpecificPrice" runat="server" ControlToValidate="txtSpecificPrice"
                                            ErrorMessage="Enter the valid Price (e.g. 50,000)" ValidationExpression="^[0-9]*$"
                                            Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:RadioButton ID="rdbSellRange" runat="server" Text="Price Range: Rs. *" GroupName="SellPrice"
                                            AutoPostBack="true" OnCheckedChanged="rdbSellRange_CheckedChanged" />
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtSellFrom" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexSellFrom" runat="server" ControlToValidate="txtSellFrom"
                                            ErrorMessage="Please enter valid range price (e.g. 50,000)" ValidationExpression="^[0-9]*$"
                                            Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblSellTo" runat="server" Text="To * "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtSellTo" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexSellTo" runat="server" ControlToValidate="txtSellTo"
                                            ErrorMessage="Please enter valid To Range" ValidationExpression="^[0-9]*$" Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <p>
                                            <asp:Button ID="btnSellSaveDetails" runat="server" Text="Save Details" CssClass="buttonStyling"
                                                OnClick="btnSellSaveDetails_Click" />
                                        &nbsp;&nbsp;
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </asp:Panel>
                    <asp:Panel ID="pnlPriceSummary" runat="server">
                        <table>
                            <p>
                            </p>
                            <tr>
                                <td>
                                    <asp:Label ID="lblPropertyFor" runat="server" Text="Property For: " Style="font-weight: bold"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblFor" runat="server" Text="" Style="font-weight: normal"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblPrice" runat="server" Text="Price: " Style="font-weight: bold"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblPropPrice" runat="server" Text="" Style="font-weight: normal"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblBondPrice" runat="server" Text="Bond: " Style="font-weight: bold;"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblBondSummary" runat="server" Text="" Style="font-weight: normal;"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Button ID="btnEditPrice" runat="server" Text="Edit" CssClass="buttonStyling"
                                        OnClick="btnEditPrice_Click" />
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                </Content>
            </ajaxToolkit:AccordionPane>
            <ajaxToolkit:AccordionPane ID="AccordionPane3" runat="server">
                <Header>
                    <asp:Panel ID="pnlPropDetails" runat="server" Height="30px" BackColor="#3B5998" CssClass="imageNoRepeat">
                        <asp:Label ID="lblPropDetails" runat="server">Property Details</asp:Label>
                    </asp:Panel>
                    <ajaxToolkit:RoundedCornersExtender ID="RoundedCornersExtender2" runat="server" Enabled="True"
                        TargetControlID="pnlPropDetails">
                    </ajaxToolkit:RoundedCornersExtender>
                </Header>
                <Content>
                    <asp:Label ID="lblPropertyDetails" runat="server" Text="Include your property Details"
                        Style="font-size: 15px; font-weight: bold" ForeColor="Blue"></asp:Label>
                    <asp:Panel ID="Panel2" runat="server" BackImageUrl="~/Images/accordianContent.jpg">
                        <asp:Panel ID="pnlPropertyType" runat="server">
                            <asp:Panel ID="pnlPropertyDetailsError" runat="server">
                                <table>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblDetailsError" runat="server" Text="Important Information:" ForeColor="Red"></asp:Label>
                                            <hr />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblDetailsErrorMessage" runat="server" ForeColor="Red" Text="" Style="z-index: 2;
                                                font-weight: normal;"></asp:Label>
                                            &nbsp;<p>
                                            </p>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                            <asp:Panel ID="pnlType" runat="server">
                                <table class="marginLeft">
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblPropertyType" runat="server" Text="Type: *"></asp:Label>
                                        </td>
                                        <td>
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlPropertyType" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlPropertyType_SelectedIndexChanged">
                                                <asp:ListItem>Select---</asp:ListItem>
                                                <asp:ListItem>House</asp:ListItem>
                                                <asp:ListItem>Land</asp:ListItem>
                                                <asp:ListItem>Villa</asp:ListItem>
                                                <asp:ListItem>Studio</asp:ListItem>
                                                <asp:ListItem>Flat/Apartment</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </asp:Panel>
                        <asp:Panel ID="pnlHouse" runat="server">
                            <table class="marginLeft">
                                <tr>
                                    <td>
                                        <asp:Label ID="lblBedroomNo" runat="server" Text="No. of Bedroom: *"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtBedRoomNo" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexBedroomNo" runat="server" ControlToValidate="txtBedRoomNo"
                                            ErrorMessage="Bedroom No. can contain only Numbers" ValidationExpression="^[0-9]*$"
                                            Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblBathroomNo" runat="server" Text="No. of Bathroom: *"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtBathRoomNo" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexBathRoomNo" runat="server" ControlToValidate="txtBathRoomNo"
                                            ErrorMessage="Bathroom No. can contain only Numbers" ValidationExpression="^[0-9]*$"
                                            Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblFloorNo" runat="server" Text="No. of Floors: *"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtFloorNo" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexFloorNo" runat="server" ControlToValidate="txtFloorNo"
                                            ErrorMessage="Floor No. can contain only Numbers" ValidationExpression="^[0-9]*$"
                                            Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblHouseSize" runat="server" Text="House Size: Sq. Mt. *"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtHouseSize" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexHouseSize" runat="server" ControlToValidate="txtHouseSize"
                                            ErrorMessage="Enter valid House Size e.g.(30x40)" ValidationExpression="^[0-9X*]*$"
                                            Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblYearBuilt" runat="server" Text="Year of Built: "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtYearBuilt" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexYearBuilt" runat="server" ControlToValidate="txtYearBuilt"
                                            ErrorMessage="Year must be in 4 digits" ValidationExpression="^[0-9]{4}$" Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                            </table>
                            <table class="marginLeft">
                                <tr>
                                    <td>
                                        <asp:Label ID="lblStatus" runat="server" Text="Status: *"></asp:Label>
                                    </td>
                                    <td>
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    </td>
                                    <td>
                                        <asp:RadioButton ID="rdbStatusVacant" runat="server" Text="Vaccant" GroupName="HomeStatus"
                                            Checked="true" />
                                    </td>
                                    <td>
                                        <asp:RadioButton ID="rdbStatusSale" runat="server" Text="Sale" GroupName="HomeStatus" />
                                    </td>
                                    <td>
                                        <asp:RadioButton ID="rdbStatusRent" runat="server" Text="Rent" GroupName="HomeStatus" />
                                    </td>
                                    <td>
                                        <asp:RadioButton ID="rdbStatusShare" runat="server" Text="Share" GroupName="HomeStatus" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <p>
                                            <asp:Button ID="btnHouseDetails" runat="server" Text="Save Details" CssClass="buttonStyling"
                                                OnClick="btnHouseDetails_Click" />
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <asp:Panel ID="pnlHouseSummary" runat="server">
                            <p>
                            </p>
                            <asp:Label ID="lblHouseSummary" runat="server" Text="" Style="font-weight: normal"></asp:Label>
                            <p>
                                <asp:Button ID="btnEditHouse" runat="server" Text="Edit" CssClass="buttonStyling"
                                    OnClick="btnEditHouse_Click" /></p>
                        </asp:Panel>
                        <asp:Panel ID="pnlLand" runat="server">
                            <table class="marginLeft">
                                <tr>
                                    <td>
                                        <asp:Label ID="lblHomeNo" runat="server" Text="No. of Homes: "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtHomeNo" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexHomeNo" runat="server" ControlToValidate="txtHomeNo"
                                            ErrorMessage="Please enter valid Home Number" ValidationExpression="^[0-9]*$" Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblLandType" runat="server" Text="Land Type: *"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:RadioButton ID="rdbStandard" runat="server" Text="Standard" GroupName="Type"
                                            Checked="true" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td>
                                        <asp:RadioButton ID="rdbNonStandard" runat="server" Text="Non Standard" GroupName="Type" />
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtNonStandard" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexNonStandard" runat="server" ControlToValidate="txtNonStandard"
                                            ErrorMessage="Please Enter valid number of Sides" ValidationExpression="^[0-9]*$" Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblDimensionSize" runat="server" Text="Dimension Size: "></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td>
                                        <asp:Label ID="lblFrontage" runat="server" Text="Frontage: *"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtFrontage" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexFrontage" runat="server" ControlToValidate="txtFrontage"
                                            ErrorMessage="Please enter valid number Frontage Size (Mt.)" ValidationExpression="^[0-9]*$" Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td>
                                        <asp:Label ID="lblDepth" runat="server" Text="Depth: *"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtDepth" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexDepth" runat="server" ControlToValidate="txtDepth"
                                            ErrorMessage="Please enter valid number Depth Size (Mt.)" ValidationExpression="^[0-9]*$" Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblStreetFacing" runat="server" Text="Street Facing: *"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlStreetFacing" runat="server">
                                            <asp:ListItem>Select--</asp:ListItem>
                                            <asp:ListItem>N</asp:ListItem>
                                            <asp:ListItem>W</asp:ListItem>
                                            <asp:ListItem>E</asp:ListItem>
                                            <asp:ListItem>S</asp:ListItem>
                                            <asp:ListItem>SW</asp:ListItem>
                                            <asp:ListItem>SE</asp:ListItem>
                                            <asp:ListItem>NW</asp:ListItem>
                                            <asp:ListItem>NE</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblStreetWidth" runat="server" Text="Street Width"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtStreetWidth" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexStreetWidth" runat="server" ControlToValidate="txtStreetWidth"
                                            ErrorMessage="Please enter valid Street width size (Mt.)" ValidationExpression="^[0-9]*$" Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                            </table>
                            <table class="marginLeft">
                                <tr>
                                    <td>
                                        <asp:Label ID="lblLandStatus" runat="server" Text="Status: *"></asp:Label>
                                    </td>
                                    <td>
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    </td>
                                    <td>
                                        <asp:RadioButton ID="rdbLandVacant" runat="server" Text="Vaccant" GroupName="Status"
                                            Checked="true" />
                                    </td>
                                    <td>
                                        <asp:RadioButton ID="rdbLandSale" runat="server" Text="Sale" GroupName="Status" />
                                    </td>
                                    <td>
                                        <asp:RadioButton ID="rdbLandRent" runat="server" Text="Rent" GroupName="Status" />
                                    </td>
                                    <td>
                                        <asp:RadioButton ID="rdbLandShare" runat="server" Text="Share" GroupName="Status" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <p>
                                            <asp:Button ID="btnLandDetails" runat="server" Text="Save Details" CssClass="buttonStyling" OnClick="btnLandDetails_Click"/>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <asp:Panel ID="pnlLandSummary" runat="server">
                            <p>
                            </p>
                            <asp:Label ID="lblLandSummary" runat="server" Text="" Style="font-weight: normal"></asp:Label>
                            <p>
                                <asp:Button ID="btnEditLandSummary" runat="server" Text="Edit" CssClass="buttonStyling"
                                    OnClick="btnEditHouse_Click" /></p>
                        </asp:Panel>
                    </asp:Panel>
                </Content>
            </ajaxToolkit:AccordionPane>
            <ajaxToolkit:AccordionPane ID="AccordionPane7" runat="server">
                <Header>
                    <asp:Panel ID="pnlImageUpload" runat="server" Height="30px" BackColor="#3B5998" CssClass="imageNoRepeat">
                        <asp:Label ID="lblAddImages" runat="server">Add Images</asp:Label>
                    </asp:Panel>
                    <ajaxToolkit:RoundedCornersExtender ID="RoundedCornersExtender6" runat="server" Enabled="True"
                        TargetControlID="pnlImageUpload">
                    </ajaxToolkit:RoundedCornersExtender>
                </Header>
                <Content>
                <asp:Label ID="lblAddImages2" runat="server" Text="Add your Property Images. (These are Optional)"
                        Style="font-size: 15px; font-weight: bold" ForeColor="Blue"></asp:Label>
                    <asp:Panel ID="Panel5" runat="server" BackImageUrl="~/Images/accordianContent.jpg">
                        <fieldset>
                            <div id="div1" runat="server">
                                <input type="file" size="65" runat="server" id="FileUpload1" />
                                <input type="file" size="65" runat="server" id="FileUpload2" />
                                <input type="file" size="65" runat="server" id="FileUpload3" />
                                <input type="file" size="65" runat="server" id="FileUpload4" />
                                <input type="file" size="65" runat="server" id="FileUpload5" />
                            </div>
                            <br />
                            <br />
                            <asp:Button ID="Button1" runat="server" Text="Upload" OnClick="Button1_Click" />
                        </fieldset>
                        <br />
                        <div id="div2" runat="server" visible="false">
                            <fieldset>
                                <div id="div3" runat="server">
                                    <table>
                                        <tr>
                                            <td>
                                                <asp:Image ID="Image1" runat="server" Height="100" Width="100" ImageUrl="" />
                                            </td>
                                            <td>
                                                <asp:Image ID="Image2" runat="server" Height="100" Width="100" ImageUrl="" />
                                            </td>
                                            <td>
                                                <asp:Image ID="Image3" runat="server" Height="100" Width="100" ImageUrl="" />
                                            </td>
                                            <td>
                                                <asp:Image ID="Image4" runat="server" Height="100" Width="100" ImageUrl="" />
                                            </td>
                                            <td>
                                                <asp:Image ID="Image5" runat="server" Height="100" Width="100" ImageUrl="" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" Visible="false">Delete</asp:LinkButton>
                                            </td>
                                            <td>
                                                <asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click" Visible="false">Delete</asp:LinkButton>
                                            </td>
                                            <td>
                                                <asp:LinkButton ID="LinkButton3" runat="server" OnClick="LinkButton3_Click" Visible="false">Delete</asp:LinkButton>
                                            </td>
                                            <td>
                                                <asp:LinkButton ID="LinkButton4" runat="server" OnClick="LinkButton4_Click" Visible="false">Delete</asp:LinkButton>
                                            </td>
                                            <td>
                                                <asp:LinkButton ID="LinkButton5" runat="server" OnClick="LinkButton5_Click" Visible="false">Delete</asp:LinkButton>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                                <br />
                            </fieldset>
                        </div>
                    </asp:Panel>
                </Content>
            </ajaxToolkit:AccordionPane>
            <ajaxToolkit:AccordionPane ID="AccordionPane4" runat="server">
                <Header>
                    <asp:Panel ID="pnlPropDwell" runat="server" Height="30px" BackColor="#3B5998" CssClass="imageNoRepeat">
                        <asp:Label ID="lblPropDwell" runat="server">Property Dwellings</asp:Label>
                    </asp:Panel>
                    <ajaxToolkit:RoundedCornersExtender ID="RoundedCornersExtender3" runat="server" Enabled="True"
                        TargetControlID="pnlPropDwell">
                    </ajaxToolkit:RoundedCornersExtender>
                </Header>
                <Content>
                    <asp:Label ID="lblPropertyDwellings" runat="server" Text="Include your Property Features. (These are Optional)"
                        Style="font-size: 15px; font-weight: bold" ForeColor="Blue"></asp:Label>
                    <asp:Panel ID="pnlDwellings" runat="server" BackImageUrl="~/Images/accordianContent.jpg">
                        <table class="marginLeft">
                            <tr>
                                <td>
                                    <asp:CheckBoxList ID="chkDwellings1" runat="server">
                                        <asp:ListItem>Alarm System</asp:ListItem>
                                        <asp:ListItem>Garden</asp:ListItem>
                                        <asp:ListItem>Swimming Pool</asp:ListItem>
                                        <asp:ListItem>Gas</asp:ListItem>
                                        <asp:ListItem>Pets Allowed</asp:ListItem>
                                    </asp:CheckBoxList>
                                </td>
                                <td>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                </td>
                                <td>
                                    <asp:CheckBoxList ID="chkDwelling2" runat="server">
                                        <asp:ListItem>Lifts</asp:ListItem>
                                        <asp:ListItem>Air Conditioning</asp:ListItem>
                                        <asp:ListItem>Ensuits</asp:ListItem>
                                        <asp:ListItem>Fully Furnished</asp:ListItem>
                                    </asp:CheckBoxList>
                                </td>
                                <td>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                </td>
                                <td>
                                    <asp:CheckBoxList ID="chkDwelling3" runat="server">
                                        <asp:ListItem>Balcony</asp:ListItem>
                                        <asp:ListItem>Kitchen</asp:ListItem>
                                        <asp:ListItem>Living Room</asp:ListItem>
                                        <asp:ListItem>Timber Floors</asp:ListItem>
                                    </asp:CheckBoxList>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Button ID="btnSaveDwelling" runat="server" Text="Save" CssClass="buttonStyling"
                                        OnClick="btnSaveDwelling_Click" />
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                    <asp:Panel ID="pnlDwellingSummary" runat="server">
                        <asp:Label ID="lblDwellingSummary" runat="server" Text="" Style="font-weight: normal"></asp:Label>
                        <p>
                        </p>
                        <asp:Button ID="btnEditDwelling" runat="server" Text="Edit" CssClass="buttonStyling"
                            OnClick="btnEditDwelling_Click" />
                    </asp:Panel>
                    <asp:Panel ID="pnlNoValue" runat="server">
                        <asp:Label ID="lblDwellSummary" runat="server" Text="You have no Property Features Selected."
                            Style="font-weight: normal"></asp:Label>
                        <p>
                        </p>
                        <asp:Button ID="btnNoValue" runat="server" Text="Edit" OnClick="btnEditDwelling_Click"
                            CssClass="buttonStyling" />
                    </asp:Panel>
                </Content>
            </ajaxToolkit:AccordionPane>
            <ajaxToolkit:AccordionPane ID="AccordionPane5" runat="server">
                <Header>
                    <asp:Panel ID="pnlPropDescription" runat="server" Height="30px" BackColor="#3B5998"
                        CssClass="imageNoRepeat">
                        <asp:Label ID="lblPropDescription" runat="server">Property Description</asp:Label>
                    </asp:Panel>
                    <ajaxToolkit:RoundedCornersExtender ID="RoundedCornersExtender4" runat="server" Enabled="True"
                        TargetControlID="pnlPropDescription">
                    </ajaxToolkit:RoundedCornersExtender>
                </Header>
                <Content>
                    <asp:Panel ID="pnlDescription" runat="server">
                        <asp:Label ID="lblDescription" runat="server" Text="Write your property Description"
                            Style="font-size: 15px; font-weight: bold" ForeColor="Blue"></asp:Label>
                        <asp:Panel ID="pnlDescriptionError" runat="server">
                            <table>
                                <tr>
                                    <td>
                                        <asp:Label ID="Label1" runat="server" Text="Important Information:" ForeColor="Red"></asp:Label>
                                        <hr />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblDescriptionError" runat="server" ForeColor="Red" Text="" Style="z-index: 2;
                                            font-weight: normal;"></asp:Label>
                                        &nbsp;<p>
                                        </p>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <asp:Panel ID="Panel3" runat="server" BackImageUrl="~/Images/accordianContent.jpg">
                            <table class="marginLeft">
                                <tr>
                                    <td>
                                        <asp:Label ID="lblpropHeading" runat="server" Text="Property Heading: "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtpropHeading" runat="server" Width="290px"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexPropHeading" runat="server" ControlToValidate="txtpropHeading"
                                            ErrorMessage="You have invalid property heading" ValidationExpression="^[a-zA-Z0-9\s,-.]*$"
                                            Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblPropDesc" runat="server" Text="Property Description: "></asp:Label>
                                    </td>
                                    <td>
                                        <cc1:Editor ID="edPropDesc" runat="server" style="z-index: 1; width:600px; height:250px" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <p>
                                            <asp:Button ID="btnSaveDescription" runat="server" Text="Save" CssClass="buttonStyling"
                                                OnClick="btnSaveDescription_Click" />
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </asp:Panel>
                    <asp:Panel ID="pnlDescriptionSummary" runat="server">
                        <table>
                            <tr>
                                <td>
                                    <asp:Label ID="lblHeadingSummary" runat="server" Text="Heading: *"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblHeadingResult" runat="server" Text="" Style="font-weight: normal"></asp:Label>
                                </td>
                            </tr>
                            <p>
                            </p>
                            <tr>
                                <td>
                                    <asp:Label ID="lblDescriptionSummary" runat="server" Text="Description:"></asp:Label>
                                </td>
                                <td>
                                    <cc1:Editor ID="edDiscriptionSummary" runat="server" style="z-index: 1; width:600px; height:250px" />
                                </td>
                            </tr>
                            <p>
                            </p>
                            <tr>
                                <td>
                                    <asp:Button ID="btnEditDescription" runat="server" Text="Edit" CssClass="buttonStyling"
                                        OnClick="btnEditDescription_Click" />
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                </Content>
            </ajaxToolkit:AccordionPane>
            <ajaxToolkit:AccordionPane ID="AccordionPane6" runat="server">
                <Header>
                    <asp:Panel ID="pnlContactDetails" runat="server" Height="30px" BackColor="#3B5998"
                        CssClass="imageNoRepeat">
                        <asp:Label ID="lblContactDetails" runat="server">Contact Details</asp:Label>
                    </asp:Panel>
                    <ajaxToolkit:RoundedCornersExtender ID="RoundedCornersExtender5" runat="server" Enabled="True"
                        TargetControlID="pnlContactDetails">
                    </ajaxToolkit:RoundedCornersExtender>
                </Header>
                <Content>
                    <asp:Label ID="lblContact" runat="server" Text="Enter your Contact Details" Style="font-size: 15px;
                        font-weight: bold" ForeColor="Blue"></asp:Label>
                    <asp:Panel ID="Panel4" runat="server" BackImageUrl="~/Images/accordianContent.jpg">
                        <asp:Panel ID="pnlContact" runat="server">
                            <asp:Panel ID="pnlContactError" runat="server">
                                <table>
                                    <tr>
                                        <td>
                                            <asp:Label ID="Label3" runat="server" Text="Important Information:" ForeColor="Red"></asp:Label>
                                            <hr />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblContactError" runat="server" ForeColor="Red" Text="" Style="z-index: 2;
                                                font-weight: normal;"></asp:Label>
                                            &nbsp;<p>
                                            </p>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                            <table class="marginLeft">
                                <tr>
                                    <td>
                                        <asp:Label ID="lblFirstName" runat="server" Text="First Name: * "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtFirstName" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexFirstName" runat="server" ControlToValidate="txtFirstName"
                                            ErrorMessage="Name must have Letters" ValidationExpression="^[a-zA-Z]*$" Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblLastName" runat="server" Text="Last Name: * "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtLastName" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexLastName" runat="server" ControlToValidate="txtLastName"
                                            ErrorMessage="Last Name must have Letters" ValidationExpression="^[a-zA-Z]*$"
                                            Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblContactMethod" runat="server" Text="Contact Method: * "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:RadioButton ID="rdbPhone" runat="server" Text="Phone" GroupName="Contact" Checked="true" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                    </td>
                                    <td>
                                        <asp:RadioButton ID="rdbEmail" runat="server" Text="Email" GroupName="Contact" />
                                    </td>
                                </tr>
                                <td>
                                </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblEmail" runat="server" Text="Email: * "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexEmail" runat="server" ControlToValidate="txtEmail"
                                            ErrorMessage="Please enter valid email address" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                            Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblPhone" runat="server" Text="Phone: * "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="regexPhone" runat="server" ControlToValidate="txtPhone"
                                            ErrorMessage="Phone Number must be in: 0493 - 3227341 or 0493 3227341 or 493 3227341"
                                            ValidationExpression="^0{0,1}[1-9]{1}[0-9]{2}[\s]{0,1}[\-]{0,1}[\s]{0,1}[1-9]{1}[0-9]{6}$"
                                            Style="font-size: 12px;"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <p>
                                            <asp:Button ID="btnSaveContact" runat="server" Text="Save" CssClass="buttonStyling"
                                                OnClick="btnSaveContact_Click" />
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <asp:Panel ID="pnlContactSummary" runat="server">
                            <asp:Label ID="lblContactSummary" runat="server" Text="" Style="font-weight: normal"></asp:Label>
                            <p>
                            </p>
                            <asp:Button ID="btnEditContacts" runat="server" Text="Edit" CssClass="buttonStyling"
                                OnClick="btnEditContacts_Click" />
                        </asp:Panel>
                    </asp:Panel>
                </Content>
            </ajaxToolkit:AccordionPane>
        </Panes>
    </ajaxToolkit:Accordion>
</asp:Content>
